home *** CD-ROM | disk | FTP | other *** search
- Path: erich.triumf.ca!bennett
- From: bennett@erich.triumf.ca (P.Bennett)
- Newsgroups: comp.lang.c
- Subject: Re: How do i make graphics in c?
- Date: 14 Feb 1996 22:41 PST
- Organization: TRIUMF: Tri-University Meson Facility
- Distribution: world
- Message-ID: <14FEB199622413585@erich.triumf.ca>
- References: <4ftvj1$88b@wpg-01.escape.ca>
- NNTP-Posting-Host: ftp.triumf.ca
- News-Software: VAX/VMS VNEWS 1.50
-
- In article <4ftvj1$88b@wpg-01.escape.ca>, Andrew Carr <acarr@escape.ca> writes...
- >I was wondering how do i make graphics (like line, staggered line, etc)
- >in C or C++? I currently use Turbo C++ version 3.0 for all my C and C++
- >programming. When i try to do graphics it always gives me the same
- >error "Linking error" and it doesn't compile. I did everything right
- >and i used all the right syntaxes but i still could not get it to work.
-
- You probably have to tell the linker to search the graphics library.
- #including <graphics.h> just tells the compiler what the graphics functions
- look like - it doesn't tell the linker to find them!
-
- Under Options/Linker (or somewhere in that vicinity) there should be a tick box
- to tell the linker to search the graphics library.
-
-
- Peter Bennett VE7CEI | Vessels shall be deemed to be in sight
- Internet: bennett@triumf.ca | of one another only when one can be
- Packet: ve7cei@ve7kit.#vanc.bc.ca | observed visually from the other
- TRIUMF, Vancouver, B.C., Canada | ColRegs 3(k)
- GPS and NMEA info and programs: ftp://sundae.triumf.ca/pub/peter/index.html
-
-
-
-
-
-